package com.cj.pojo;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class AuditLog {
    private Long id;
    
    private Long userId;
    
    @NotEmpty
    private String actionType;
    
    private Long targetId;
    
    private String ip;
    
    private String userAgent;
    
    private String details;
    
    private LocalDateTime createdAt;
}
